package com.yanghx.product.vo;

/**
 * @author yangHX
 * createTime  2019/9/11 10:17
 */
public class ResultVOUtil {

    public static <T> ResultVo<T> success(T object) {
        ResultVo<T> resultVO = new ResultVo<>();
        resultVO.setData(object);
        resultVO.setCode(0);
        resultVO.setMsg("成功");
        return resultVO;
    }
}
